package com.hl.security;

import com.hl.security.config.SecurityConfigInfo;
import com.hl.security.config.WebHlSecurityConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * Created by aaron on 2017/1/12.
 */
@Configuration
@EnableWebSecurity
public class WebAdminSecurityConfig extends WebHlSecurityConfig {

    @Override
    public SecurityConfigInfo getSecurityConfigInfo() {
        return new SecurityConfigInfo(new HlUserServicesImpl());
    }

}
